﻿<Window x:Class="memoUI.SubTopicEditorWindow"
        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
        xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
        xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
        xmlns:local="clr-namespace:memoUI"
        mc:Ignorable="d"
        Title="Subtopic Editor" Height="300" Width="300" WindowStyle="None" Icon="Images/DesktopLogo.png" ResizeMode="NoResize" WindowStartupLocation="CenterScreen" Background="Green">
    <Grid Margin="5" Background="White">
        <Label x:Name="NameLabel" Content="Subtopic Name:" HorizontalAlignment="Left" VerticalAlignment="Top" Margin="10,0,0,0" />
        <TextBox x:Name="NameTextBox" HorizontalAlignment="Left" VerticalAlignment="Top" Height="25" Width="200" Margin="10,25,0,0" TextWrapping="Wrap" Text=""/>
        <Label x:Name="DescriptionLabel" Content="Description:" HorizontalAlignment="Left" VerticalAlignment="Top" Margin="10,55,0,0" />
        <TextBox x:Name="DescriptionTextBox" HorizontalAlignment="Stretch" VerticalAlignment="Stretch" Margin="10,80,10,30" TextWrapping="Wrap" Text="" />
        <Image x:Name="SubtopicImage" HorizontalAlignment="Right" VerticalAlignment="Top" Height="60" Width="60" Margin="0,10,10,0" Source="Images/DEFAULT.png" Stretch="Fill" MouseDown="SubtopicImage_MouseDown"/>
        <Button x:Name="SaveButton" Content="Save" HorizontalAlignment="Right" VerticalAlignment="Bottom" Margin="0,0,10,5"  Width="75" Background="Green" Click="SaveButton_Click"/>
        <Button x:Name="CancelButton" Content="Cancel" HorizontalAlignment="Right" VerticalAlignment="Bottom" Margin="0,0,90,5"  Width="75" Background="Red" Click="CancelButton_Click" />
    </Grid>
</Window>
